package net.tycmc.cty.ctyms.web.Dao;

import net.tycmc.bulb.common.dao.IBaseDAO;
import net.tycmc.cty.ctyms.timejob.common.MyBaseDAO;

public class dataBaseTranplatDao {
	private IBaseDAO baseDAO;
	private MyBaseDAO mbd;
	public MyBaseDAO getMbd() {
		return mbd;
	}

	public void setMbd(MyBaseDAO mbd) {
		this.mbd = mbd;
	}

	public IBaseDAO getBaseDAO() {
		return baseDAO;
	}

	public void setBaseDAO(IBaseDAO baseDAO) {
		this.baseDAO = baseDAO;
	}
	/**
	 * 执行sql脚本
	 * @return
	 */
	public int DoSql(String sql){
		return	baseDAO.execUpdate(sql,new Object[]{});
	}
}
